package cn.iocoder.yudao.hires.vo.noticeinterview;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 下游-面试通知分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class NoticeInterviewPageReqVO extends PageParam {

    @Schema(description = "用户ID", example = "32362")
    private Long userId;

    @Schema(description = "职位ID", example = "20627")
    private Long positionId;

    @Schema(description = "职位名称(冗余)", example = "李四")
    private String positionName;

    /**
     * 面试时间
     */
    private LocalDateTime interviewStartTime;
    /**
     * 面试时间
     */
    private LocalDateTime interviewEndTime;
    @Schema(description = "面试地址")
    private String interviewAddress;

    @Schema(description = "经度")
    private BigDecimal longitude;

    @Schema(description = "纬度")
    private BigDecimal latitude;

    @Schema(description = "联系人")
    private String contactPerson;

    @Schema(description = "联系电话")
    private String contactPhone;

    @Schema(description = "面试类型(1:初试 2:复试 3:终面)", example = "1")
    private Integer interviewType;

    @Schema(description = "面试形式(1:现场 2:视频 3:电话)")
    private Integer interviewForm;

    @Schema(description = "状态(0:待确认 1:已接受 2:已拒绝 3:已取消  4:已签到)", example = "2")
    private Integer status;

    @Schema(description = "备注信息", example = "随便")
    private String remark;

    @Schema(description = "通知内容")
    private String content;

    @Schema(description = "是否已读(0:未读 1:已读)")
    private Integer isRead;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}